package blogger.client.async.services;

import blogger.client.model.entity.User;
import blogger.client.model.entity.UserDetails;

import com.google.gwt.user.client.rpc.AsyncCallback;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: mega
 * Date: 24.12.2009
 * Time: 9:43:16
 * To change this template use File | Settings | File Templates.
 */
public interface UserServiceAsync {

    void getCurrentUserId(AsyncCallback<Long> async);

    void getUserById(long id, AsyncCallback<User> async);

    void getUsers(List<Long> ids, AsyncCallback<List<User>> async);

    void getUserDetailsById(long id, AsyncCallback<UserDetails> async);
}
